<?php $domaines=$data['domaines'];?>
<input type="hidden"  id="idPartie" name="idPartie" value="<?php echo $data['idpartie'];?>" />
<input type="hidden"  id="idDomaine" name="idDomaine" value="<?php echo $domaines[$data['rdm']]->getId();?>" />
<div class="container">
	<div class="row">
		<div class="span4">
			<div class="divDomaine" id="start">Selection du domaine</div>
			<div class="secondContainer">
				<div class="roulette_container">
					<div class="roulette">
						<?php
						$i=0;
						$domaines=$data['domaines'];
						foreach ($domaines  as $domaine ) {
							echo '<img data-value="'.$i.'" id="'.$domaine->getId().'" src="'.$GLOBALS["siteUrl"].'ressource/roulette/'.$domaine->getId().'.png" />';
							$i++;
						}
						?>
					</div>	
				<div id="displayDomaine"><?php echo $domaines[$data['rdm']]->getLibelle();?></div>	
			</div>
		</div>
		<div id="speed" style="display: none;"></div>
		<input id="stopImageNumber" name="stopImageNumber" style="display: none;" />
		<span class="image_sample" style="display: none;">
			<input id="image" value="<?php echo $data['rdm'];?>" />
		</span>
	</div>	
</div>